View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0001258 | T99X171.00 SKB Eagle | SW | public | 2021-05-31 10:23 | 2021-06-23 14:45 |
| Reporter | (ALTech) Younkwang Jung | Assigned To | (ALTech) Younkwang Jung | Due Date | |
| Priority | normal | Severity | s2-severe | Reproducibility | have not tried |
| Status | closed | Resolution | fixed | ||
| Summary | 0001258: [Smart3][BTF] HDCP Optimization | ||||
| Description | Hi Kerwin When cold power on, HDCP fail messages occur unnecessarily by calling pTxAuth->start() even when the HDMI cable is not connected or the TV is turned off. Skb manager is trying to improve this status. jira link is below : https://jira.skbroadband.com/projects/BFXBTF/issues/BFXBTF-229 Attached is the test code implemented by skb manager. Please review and test the code and if a side effect occurs, please fix it as well. Please let me know the commit ID when this work is completed. Thank you YK.Jung | ||||
| Tags | No tags attached. | ||||
| Attach Tags | |||||
| User List |
(ALTech) SY Yoon , |
|---|
|
|
HDCP_with_HPD.patch (1,409 bytes)
diff --git a/frameworks/services/systemcontrol/DisplayMode.cpp b/frameworks/services/systemcontrol/DisplayMode.cpp
index 40943bd5..a03112ee 100755
--- a/frameworks/services/systemcontrol/DisplayMode.cpp
+++ b/frameworks/services/systemcontrol/DisplayMode.cpp
@@ -231,7 +231,7 @@ void DisplayMode::init() {
char hpd_state[MODE_LEN] = {0};
pSysWrite->readSysfs("/sys/class/amhdmitx/amhdmitx0/hdmi_used", hdmi_state);
pSysWrite->readSysfs(DISPLAY_HPD_STATE, hpd_state);
- if (strstr(hdmi_state, "1") && strstr(hpd_state, "0")) {
+ if (/* strstr(hdmi_state, "1") && */strstr(hpd_state, "0")) {
pSysWrite->writeSysfs(SYSFS_DISPLAY_MODE, "null");
return;
}
@@ -534,7 +534,14 @@ void DisplayMode::setSourceOutputMode(const char* outputmode, output_mode_state
pSysWrite->writeSysfs(DISPLAY_HDMI_AUDIO_MUTE, "0");
usleep(20000);
pSysWrite->writeSysfs(DISPLAY_HDMI_AVMUTE, "-1");
- pTxAuth->start();
+ char hpd_state[MAX_STR_LEN] = {0};
+
+ pSysWrite->readSysfs(DISPLAY_HPD_STATE, hpd_state);
+ if (!strncmp(hpd_state, "1", 1)) {
+ pTxAuth->start();
+ } else {
+ SYS_LOGI("HPD is low. There is nothing to do for HDCP");
+ }
return;
} else if (!strcmp(outputmode, "displayoff")) {
pSysWrite->writeSysfs(DISPLAY_HDMI_AVMUTE, "1");
|
|
|
Hi Mr. YK Jung, We apply the modification and do tests. Currently, we don't see side effect. Please let us know when to apply it on BitBucket. Thanks ! |
|
|
Hi Mr. YK jung, Currently in our test, it will enter the judgment of hpd_state=0 However, we did not find any error messages for HDCP authentication failure. If you need to ask AMLogic to analyze the HDCP authentication failure error, We need all error logcat information and kernel information. Jerry |
|
|
Hi Jerry I checked it. And if there is anything related to this in VoC, I will reopen it. Thank you YK.Jung |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2021-05-31 10:23 | (ALTech) Younkwang Jung | New Issue | |
| 2021-05-31 10:23 | (ALTech) Younkwang Jung | Status | new => assigned |
| 2021-05-31 10:23 | (ALTech) Younkwang Jung | Assigned To | => (SW) Kerwin Chen |
| 2021-05-31 10:23 | (ALTech) Younkwang Jung | File Added: HDCP_with_HPD.patch | |
| 2021-05-31 10:24 | (ALTech) Younkwang Jung | Issue Monitored: (SW) Brent Choi | |
| 2021-05-31 10:24 | (ALTech) Younkwang Jung | Issue Monitored: (SW) Jerry Lin | |
| 2021-05-31 10:24 | (ALTech) Younkwang Jung | Issue Monitored: (ALTech) SY Yoon | |
| 2021-06-03 09:16 | (SW) Kerwin Chen | Note Added: 0007346 | |
| 2021-06-03 09:17 | (SW) Kerwin Chen | Assigned To | (SW) Kerwin Chen => (ALTech) Younkwang Jung |
| 2021-06-03 09:17 | (SW) Kerwin Chen | Status | assigned => feedback |
| 2021-06-07 22:29 | (SW) Jerry Lin | Note Added: 0007389 | |
| 2021-06-23 14:45 | (ALTech) Younkwang Jung | Status | feedback => closed |
| 2021-06-23 14:45 | (ALTech) Younkwang Jung | Resolution | open => fixed |
| 2021-06-23 14:45 | (ALTech) Younkwang Jung | Note Added: 0007540 |